﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 客户银行账号AITDTO DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class CustomBankAITDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public CustomBankAITDTOData()
		{
			initData();
		}
		private void initData()
		{
		
		
		
		
		

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        			if (this.CustomAITDTO != null) 
			{
				this.CustomAITDTO.DoSerializeKeyList(dict);
			}
	        	        	        			if (this.Bank != null) 
			{
				this.Bank.DoSerializeKeyList(dict);
			}
	        			if (this.Currency != null) 
			{
				this.Currency.DoSerializeKeyList(dict);
			}

		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public CustomBankAITDTOData(  ufida.u9.ait.openapi.CustomAITDTOData customAITDTO  , System.String code  , System.String name  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData bank  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData currency  )
		{
			initData();
			this.CustomAITDTO = customAITDTO;
			this.Code = code;
			this.Name = name;
			this.Bank = bank;
			this.Currency = currency;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 客户AITDTO
		/// 客户银行账号AITDTO.Misc.客户AITDTO
		/// </summary>
		private ufida.u9.ait.openapi.CustomAITDTOData m_customAITDTO ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CustomAITDTOData CustomAITDTO
		{
			get	
			{	
				return m_customAITDTO ;
			}
			set	
			{	
				m_customAITDTO = value ;	
			}
		}
			
		

		/// <summary>
		/// 编码
		/// 客户银行账号AITDTO.Misc.编码
		/// </summary>
		private System.String m_code ;
		[DataMember(IsRequired=false)]
		public System.String Code
		{
			get	
			{	
				return m_code ;
			}
			set	
			{	
				m_code = value ;	
			}
		}
			
		

		/// <summary>
		/// 名称
		/// 客户银行账号AITDTO.Misc.名称
		/// </summary>
		private System.String m_name ;
		[DataMember(IsRequired=false)]
		public System.String Name
		{
			get	
			{	
				return m_name ;
			}
			set	
			{	
				m_name = value ;	
			}
		}
			
		

		/// <summary>
		/// 银行
		/// 客户银行账号AITDTO.Misc.银行
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_bank ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Bank
		{
			get	
			{	
				return m_bank ;
			}
			set	
			{	
				m_bank = value ;	
			}
		}
			
		

		/// <summary>
		/// 币种
		/// 客户银行账号AITDTO.Misc.币种
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_currency ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Currency
		{
			get	
			{	
				return m_currency ;
			}
			set	
			{	
				m_currency = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
										
		#endregion 
	} 	
}
